package com.fau.fm.util;

import java.io.Serializable;

/**
 * 系统常量表
 * @author liy
 * @since 2014年7月25日,上午9:47:40
 */
public class SystemConfig implements Serializable {

	private static final long serialVersionUID = -757635066186116034L;
	
	/* 用户状态 */
	public static final String ONLINE_STATUS = "0";			// 在线状态
	public static final String OFFLINE_STATUS = "1";		// 离线状态
	
	public static final String JOB_STATUS = "0";			// 在职
	public static final String TURNOVER_STATUS = "1";		// 离职
	
	/* 企业状态  */
	public static final String ENTERPRISE_OPEN = "0";		// 开放
	public static final String ENTERPRISE_LOCKED = "1";		// 锁定
	
	/* 企业拥有对账、回款值  */
	public static final String HAVE_NONE = "0";				// 无对账和回款
	public static final String HAVE_RECONCILED = "1";		// 对账
	public static final String HAVE_SECTION = "2";			// 回款
	public static final String HAVE_ALL = "3";				// 对账回款都有
	
	/* 组织机构 */
	public static final String DEPARTMENT_PID = "0";		//父id也为0
	
	public static final String LEAVE_TYPE = "LEAVE_TYPE";	// 休假类型
	
	/* 部门类型 */
	public static final String DEPT_TYPE = "DEPT_TYPE";		// 部门（系统）类型
	
	/* 数据字典key */
	public static final String CALL_DEPT = "15";			// 话务（部门）
	public static final String NUCLEAR_DEPT = "16";			// 核单（部门）
	public static final String CALL_ROLE = "4";			    // 话务（角色）
	public static final String NUCLEAR_ROLE = "5";			// 核单（角色）
	
	/* 职位  */
	public static final String GROUP_LEADER = "1";			// 组长
	public static final String GROUP_EMPLOYEE = "2";		// 组员
	
	/* 订单认领状态 （用于回款操作） */
	public static final String UN_CLAIMED = "1";			// 未认领
	public static final String HAS_CLAIMED = "2";			// 已认领
	
	/* 发货状态  */
	public static final String BE_DELIVERY = "0";			// 未发货
	public static final String HAS_DELIVERY = "1";			// 已发货
	
	public static final String HAS_CHARGEBACK = "2";		// 已退单
	/* 签收状态  */
	public static final String BE_SIGNED = "3";				// 未签收
	public static final String HAS_SIGNED = "4";			// 已签收
	/* 对账状态  */
	public static final String BE_RECONCILED = "5";			// 待对账
	public static final String HAS_RECONCILED = "6";		// 已对账
	/* 回款状态  */
	public static final String BE_SECTIONED = "7";			// 待回款
	public static final String HAS_SECTIONED = "8";			// 已回款
	
	/* 付款类型  */
	public static final String OFFLINE_PAYMENT_STATUS = "15";	// 线下付款
	public static final String CASH_DELIVERY_STATUS = "16";		// 货到付款
	
	/* 导出订单信息模板  */
	public static final String EXPORTS_ORDERS_INFO = "/template/order/订单信息.xls";
	public static final String EXPORTS_ORDERS_STA = "/template/order/订单统计.xls";
	public static final String EXPLOYEE_SALARY_INFO = "/template/salary/员工工资表.xls";
	public static final String CALL_EXPLOYEE_SALARY = "/template/salary/话务员绩效薪资.xls";
	
	/*系统类型*/
	public static final String HM_SYSTEM_TYPE = "hm";			// 人资系统
	public static final String OM_SYSTEM_TYPE = "om";			// 订单系统
	public static final String FM_SYSTEM_TYPE = "fm";			// 财务系统
	public static final String CM_SYSTEM_TYPE = "cm";			// 话务系统
	
	/* 资源类型 */
	public static final Integer IS_MENUS = 0;					// 菜单
	
	/*产品类型*/
	public static final String MEDICINE_RIDEPIN_TYPE = "14";		// 搭销
	public static final String MEDICINE_PREMIUMS_TYPE = "15";		// 赠品
	public static final String MEDICINE_GENERAL_TYPE = "16";		// 普通产品
	
	/* 待对账待回款列表  */
	public static final String WAIT_RECONCILED_LINE = "1";			// 待对账线下汇款
	public static final String WAIT_RECONCILED_CASH = "2";			// 待对账货到付款
	public static final String MY_WAIT_RECONCILED_LINE = "3";		// 我的待对账线下汇款
	public static final String MY_WAIT_RECONCILED_CASH = "4";		// 我的待对账货到付款
	public static final String WAIT_SECTION_LINE = "5";				// 待回款线下汇款
	public static final String WAIT_SECTION_CASH = "6";				// 待回款货到付款
	public static final String MY_WAIT_SECTION_LINE = "7";			// 我的待回款线下汇款
	public static final String MY_WAIT_SECTION_CASH = "8";			// 我的待回款货到付款
	
	/*根节点资源*/
	public static final Integer ROOT_RESOURCE_TYPE = 2;
	
}
